package com.cql.pojo;

import java.io.Serializable;
import java.time.LocalDateTime;


public class Patients implements Serializable {
    // 主键
    private Integer id;
    // 患者姓名
    private String pname;
    // 身份证号
    private String pidcard;
    // 手机号
    private String ptel;
    // 年龄
    private Integer page;
    // 性别
    private Integer pgender;
    // 民族
    private String pnation;
    // 身高cm
    private Integer pcm;
    // 体重kg
    private Integer pkg;
    // 身体健康指数BMI
    private Float pbmi;
    // 职业
    private String pjob;
    // 活动系数
    private String pactivity;
    // 创建人
    private String createBy;
    // 创建时间
    private LocalDateTime createTime;
    // 更新人
    private String updateBy;
    // 更新时间
    private LocalDateTime updateTime;

    public Patients(Integer id, String pname, String pidcard, String ptel, Integer page, Integer pgender, String pnation, Integer pcm, Integer pkg, Float pbmi, String pjob, String pactivity, String createBy, LocalDateTime createTime, String updateBy, LocalDateTime updateTime) {
        this.id = id;
        this.pname = pname;
        this.pidcard = pidcard;
        this.ptel = ptel;
        this.page = page;
        this.pgender = pgender;
        this.pnation = pnation;
        this.pcm = pcm;
        this.pkg = pkg;
        this.pbmi = pbmi;
        this.pjob = pjob;
        this.pactivity = pactivity;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPidcard() {
        return pidcard;
    }

    public void setPidcard(String pidcard) {
        this.pidcard = pidcard;
    }

    public String getPtel() {
        return ptel;
    }

    public void setPtel(String ptel) {
        this.ptel = ptel;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPgender() {
        return pgender;
    }

    public void setPgender(Integer pgender) {
        this.pgender = pgender;
    }

    public String getPnation() {
        return pnation;
    }

    public void setPnation(String pnation) {
        this.pnation = pnation;
    }

    public Integer getPcm() {
        return pcm;
    }

    public void setPcm(Integer pcm) {
        this.pcm = pcm;
    }

    public Integer getPkg() {
        return pkg;
    }

    public void setPkg(Integer pkg) {
        this.pkg = pkg;
    }

    public Float getPbmi() {
        return pbmi;
    }

    public void setPbmi(Float pbmi) {
        this.pbmi = pbmi;
    }

    public String getPjob() {
        return pjob;
    }

    public void setPjob(String pjob) {
        this.pjob = pjob;
    }

    public String getPactivity() {
        return pactivity;
    }

    public void setPactivity(String pactivity) {
        this.pactivity = pactivity;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Patients{" +
                "id=" + id +
                ", pname='" + pname + '\'' +
                ", pidcard='" + pidcard + '\'' +
                ", ptel='" + ptel + '\'' +
                ", page=" + page +
                ", pgender=" + pgender +
                ", pnation='" + pnation + '\'' +
                ", pcm=" + pcm +
                ", pkg=" + pkg +
                ", pbmi=" + pbmi +
                ", pjob='" + pjob + '\'' +
                ", pactivity='" + pactivity + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
